package com.jiang.service.impl;

import com.jiang.bean.User;
import com.jiang.mapper.UserMapper;
import com.jiang.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 2018-4-25
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public void register(User user) {
        userMapper.insertSelective(user);
    }
}
